#include <iostream>

using namespace std;

class Solution
{
  public:
    int strStr(string haystack, string needle)
    {
        return haystack.find(needle);
    }
};

int main()
{
    string haystack = "hello", needle = "ll";
    cout << Solution().strStr(haystack, needle);
    return 0;
}
